


#include "../include.h"
#include <dlfcn.h>

void __attribute__ ((constructor)) my_init(void) {
	void* p = dlopen("libpython2.7.so", RTLD_LAZY | RTLD_GLOBAL);
	if (p == 0) {
		printf("%s", dlerror());
		return;
	}
	PyXulInitialize();
}
